<div *ngIf="orders" class="form-horizontal">
    <table class="table table-bordered table-hover">
        <thead>
            <th>订单时间</th>
            <th>付款方式</th>
            <th>金额</th>
            <th>线路</th>
            <th>上车站点</th>
            <th>下车站点</th>
            <th>乘车日期</th>
            <th>乘车时间</th>
        </thead>
        <tbody>
            <tr *ngFor="let order of orders">
                <td>{{order.order_time}}</td>
                <td>{{order.payment}}</td>
                <td>{{order.amount}}</td>
                <td>{{order.trip_name}}</td>
                <td>{{order.start_stop_name}}</td>
                <td>{{order.end_stop_name}}</td>
                <td>{{order.boarding_date}}</td>
                <td>{{order.boarding_time}}</td>
            </tr>
        </tbody>
    </table>
</div> 